<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>MyPetstore</title>
</head>
<body>
    <footer th:fragment="footer">
        <div id="Footer">

            <div id="PoweredBy">
                &nbsp<a href="#">www.csu.edu.cn</a>
            </div>

            <div id="Banner">
                <span th:if="${account} != null">
                    <span th:if="${account.authenticated == true}">
                        ${account.bannerName}
                    </span>
                </span>
<!--                <c:if test="${sessionScope.account != null }">-->
<!--                    <c:if test="${sessionScope.account.bannerOption}">-->
<!--                        ${sessionScope.account.bannerName}-->
<!--                    </c:if>-->
<!--                </c:if>-->
            </div>

        </div>

    </footer>
</body>
</html>